﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SPPatchServiceUI.Tests
{
    [TestClass]
    public class PatchServiceAPI_Tests
    {
        [TestMethod]
        public void GetUpdates_Default()
        {
            // Arrange

            // Act
            var Actual = PatchServiceAPI.GetUpdates();

            // Assert
            Assert.IsNotNull(Actual);
            Assert.IsTrue(Actual.Count() > 0);
            
        } // GetUpdates_Default


        [TestMethod]
        public void GetKnownIssues_Default()
        {
            // Arrange

            // Act
            var Actual = PatchServiceAPI.GetKnownIssues();

            // Assert
            Assert.IsNotNull(Actual);
            Assert.IsTrue(Actual.Count() > 0);
        }

    } // TestClass
} // NameSpace